<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"    
      xmlns:f="http://java.sun.com/jsf/core">
    <body>
        <ui:composition template="./../MasterPage/masterPage.xhtml">
            <ui:define name="content">
                <h:form id="frmDisenio">
                    <p:growl id="grow" showDetail="true"/>
                    <center >
                        <p:panelGrid columns="1" style="width: 100%" >
                              <h:outputText value="#{managedBeanVenta.objetoViaje.agencia.ciudad.departamento.depDepartamento} #{managedBeanVenta.objetoViaje.agencia.ciudad.ciudCiudad} #{managedBeanVenta.objetoViaje.agencia.agenDireccion},  DESDE   #{managedBeanVenta.objetoViaje.ruta.ciudad.ciudCiudad}    - HACIA -   #{managedBeanVenta.objetoViaje.ruta.ciudad1.ciudCiudad}" style=" color: blue; size: 7px; font-weight: bold;"/>
                    <h:outputText value="SALIDA:   #{managedBeanVenta.FechaFormateada(managedBeanVenta.objetoViaje.viaFehaSalida)}   -   #{managedBeanVenta.objetoViaje.viaHoraSalida}" style="color: red; size: 75px; font-weight: bold;"/>
                   
                        </p:panelGrid>
                   
                    </center>
                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                        <p:panelGrid columns="2" style="width: 10%" styleClass="styloPanelGrid2">
                            <h:outputText value="Manifiesto" style="font-size: 12px; color: blue"/>
                            <h:commandLink action="#{managedBeanVenta.manifiesto()}" onclick="window.open('manifiestos/viaje' +#{managedBeanVenta.idViajeManifiesto} + '.pdf', '', 'height=450,width=720,scrollbars=1');
                                    return false;">
                                <h:graphicImage value="/images/impresora_matricial.jpg" width="55 px" height="55 px"/>

                            </h:commandLink>
                        </p:panelGrid>
                        <p:panelGrid columns="3" style="width: 100%" styleClass="styloPanelGrid2">
                            <p:panelGrid columns="2" style="width: 10%" styleClass="styloPanelGrid2">
                                <h:outputText value="Libre" style="font-size: 12px; color: blue"/>
                                <h:graphicImage value="/images/asientodisp.jpg" width="35 px" height="35 px"/>
                            </p:panelGrid>
                            <p:panelGrid columns="3" style="width: 10%" styleClass="styloPanelGrid2">
                                <h:outputText value="Ocupado" style="font-size: 12px; color: blue"/>
                                <h:graphicImage value="/images/asientocupM.png" width="35 px" height="35 px"/>
                                <h:graphicImage value="/images/asientocupF.png" width="35 px" height="35 px"/>
                            </p:panelGrid>
                            <p:panelGrid columns="2" style="width: 10%" styleClass="styloPanelGrid2">
                                <h:outputText value="Reservado" style="font-size: 12px; color: blue"/>
                                <h:graphicImage value="/images/asientoreserv.png" width="35 px" height="35 px"/>
                            </p:panelGrid>
                        </p:panelGrid>
                    </p:panelGrid>
                        
                    <center>
                        <p:commandButton value="VERIFICAR RESERVADOS"  style=" font-size: 11px;" action="#{managedBeanVenta.resetar()}"   />
                                       
                        <p:panelGrid id="panelPrincipal" style="margin-top:20px; width: 50%; height: 50%;border-color: #D20009" styleClass="styloPanelGrid">
                            <f:facet name="header">
                                <p:row>
                                    <p:column colspan="9">Distribucion Asientos BUS : #{managedBeanVenta.objetoViaje.bus.marca.marMarca} #{managedBeanVenta.objetoViaje.bus.modelo.modDescripcion} #{managedBeanVenta.objetoViaje.bus.busAnioFabricacion}</p:column>
                                </p:row>
                                <p:row>
                                    <p:column>Ventana 1</p:column>
                                    <p:column>Pasadiso 1</p:column>
                                    <p:spacer height="0"/>
                                    <p:column colspan="4">CORREDOR</p:column>
                                    <p:column>Pasadiso 2</p:column>
                                    <p:column>Ventana 2</p:column>
                                    <p:spacer height="0"/>
                                </p:row>
                            </f:facet>
                            <p:row>
                                <p:column colspan="8"></p:column>
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="1" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                          <p:graphicImage value="#{managedBeanVenta.verificando(1) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(1) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(1) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                          <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(1) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="1" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(1) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="1" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(1) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="1" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="3" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="2" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                           <p:graphicImage value="#{managedBeanVenta.verificando(2) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(2) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(2) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                             <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(2) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="2" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(2) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="2" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                           <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(2) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="2" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                        <p:graphicImage value="../images/tv.jpg" height="20px" width="26px" style="padding: 0px 0px 70px 0px "/> 
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"> <center> <h:outputText value="P" style="font-size: 20px;"/></center></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="3" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="3" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(3) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(3) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(3) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(3) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="3" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(3) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="3" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(3) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="3" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>                                    
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="4" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(4) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(4) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(4) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(4) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="4" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(4) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="4" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                           <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(4) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="4" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="5" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(5) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(5) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(5) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                             <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(5) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="5" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(5) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="5" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(5) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="5" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="6" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                           <p:graphicImage value="#{managedBeanVenta.verificando(6) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(6) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(6) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(6) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="6" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(6) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="6" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(6) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="6" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><center> <h:outputText value="A" style="font-size: 20px; "/></center></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="3" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="7" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(7) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(7) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(7) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                              <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(7) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="7" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(7) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="7" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                           <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(7) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="7" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="8" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(8) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(8) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(8) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(8) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="8" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(8) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="8" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(8) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="8" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="9" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                           <p:graphicImage value="#{managedBeanVenta.verificando(9) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(9) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(9) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(9) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="9" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(9) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="9" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(9) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="9" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="10" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(10) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(10) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(10) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(10) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="10" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(10) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="10" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(10) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="10" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><center> <h:outputText value="S" style="font-size: 20px; "/></center></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="11" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(11) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(11) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(11) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(11) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="11" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(11) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="11" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(11) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="11" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="12" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                           <p:graphicImage value="#{managedBeanVenta.verificando(12) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(12) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(12) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(12) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="12" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(12) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="12" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(12) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="12" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="13" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                           <p:graphicImage value="#{managedBeanVenta.verificando(13) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(13) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(13) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(13) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="13" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(13) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="13" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(13) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="13" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="14" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                           <p:graphicImage value="#{managedBeanVenta.verificando(14) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(14) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(14) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(14) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="14" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(14) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="14" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(14) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="14" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><center> <h:outputText value="A" style="font-size: 20px; "/></center></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="15" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(15) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(15) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(15) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(15) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="15" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(15) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="15" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(15) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="15" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="16" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(16) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(16) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(16) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(16) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="16" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(16) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="16" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(16) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="16" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="17" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(17) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(17) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(17) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(17) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="17" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(17) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="17" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(17) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="17" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="18" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                             <p:graphicImage value="#{managedBeanVenta.verificando(18) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(18) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(18) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(18) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="18" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(18) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="18" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(18) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="18" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><center> <h:outputText value="D" style="font-size: 20px; "/></center></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="19" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                              <p:graphicImage value="#{managedBeanVenta.verificando(19) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(19) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(19) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                              <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(19) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="19" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(19) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="19" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                           <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(19) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="19" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="20" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(20) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(20) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(20) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                              <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(20) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="20" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(20) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="20" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(20) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="20" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="21" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                           <p:graphicImage value="#{managedBeanVenta.verificando(21) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(21) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(21) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(21) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="21" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(21) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="21" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                           <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(21) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="21" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="3" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="22" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                           <p:graphicImage value="#{managedBeanVenta.verificando(22) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(22) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(22) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(22) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="22" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(22) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="22" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                           <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(22) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="22" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                   </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><center> <h:outputText value="I" style="font-size: 20px; "/></center></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="3" style="width: 100%" styleClass="styloPanelGrid2">
                                        <p:graphicImage value="../images/tv.jpg" height="20px" width="26px" style="padding: 0px 0px 70px 0px "/>
                                        <h:outputText value="23" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                          <p:graphicImage value="#{managedBeanVenta.verificando(23) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(23) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(23) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(23) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="23" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(23) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="23" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                          <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(23) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="23" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="24" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(24) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(24) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(24) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(24) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="24" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(24) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="24" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                             <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(24) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="24" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="25" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                             <p:graphicImage value="#{managedBeanVenta.verificando(25) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(25) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(25) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(25) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="25" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(25) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="25" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(25) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="25" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="26" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                           <p:graphicImage value="#{managedBeanVenta.verificando(26) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(26) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(26) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(26) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="26" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(26) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="26" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                             <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(26) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="26" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><center> <h:outputText value="Z" style="font-size: 20px; "/></center></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="27" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(27) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(27) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(27) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(27) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="27" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(27) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="27" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(27) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="27" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="28" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                           <p:graphicImage value="#{managedBeanVenta.verificando(28) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(28) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(28) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(28) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="28" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(28) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="28" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(28) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="28" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="29" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                           <p:graphicImage value="#{managedBeanVenta.verificando(29) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(29) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(29) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(29) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="29" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(29) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="29" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                          <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(29) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="29" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="30" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(30) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(30) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(30) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(30) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="30" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(30) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="30" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                             <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(30) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="30" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><center> <h:outputText value="O" style="font-size: 20px; "/></center></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="31" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                           <p:graphicImage value="#{managedBeanVenta.verificando(31) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(31) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(31) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(31) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="31" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(31) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="31" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                             <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(31) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="31" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="32" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                           <p:graphicImage value="#{managedBeanVenta.verificando(32) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(32) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(32) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(32) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="32" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(32) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="32" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(32) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="32" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="33" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(33) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(33) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(33) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(33) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="33" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(33) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="33" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                           <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(33) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="33" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="34" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                           <p:graphicImage value="#{managedBeanVenta.verificando(34) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(34) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(34) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(34) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="34" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(34) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="34" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(34) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="34" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><!--Corredor--></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="35" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(35) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(35) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(35) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" />
                                           <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(35) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="35" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(35) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="35" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                           <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(35) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="35" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="36" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(36) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(36) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(36) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" /> 
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(36) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="36" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(36) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="36" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                           <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(36) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="36" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="37" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(37) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(37) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(37) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" /> 
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(37) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="37" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(37) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="37" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                         <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(37) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="37" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="38" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(38) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(38) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(38) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" /> 
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(38) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="38" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(38) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="38" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(38) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="38" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                               
                                <p:column colspan="4" style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="41" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(41) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(41) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(41) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" /> 
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(41) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="41" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(41) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="41" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                           <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(41) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="41" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                
                                
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="39" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(39) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(39) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(39) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" /> 
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(39) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="39" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(39) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="39" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                            <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(39) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="39" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="40" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2">
                                            <p:graphicImage value="#{managedBeanVenta.verificando(40) eq 0 ? '../images/asientodisp.jpg':managedBeanVenta.verificando(40) eq 1 ?  managedBeanVenta.sexopersona eq true ? '../images/asientocupM.png':'../images/asientocupF.png'  : managedBeanVenta.verificando(40) eq 2 ? '../images/asientoreserv.png':'../images/asientodisp.jpg'}" height="20px" width="40px" /> 
                                            <p:commandButton value="LIBRE"  style="color: blue; font-size: 9px; display: #{managedBeanVenta.verificando(40) eq 0 ? 'null':'none;'} " update=":frmDisenio:display" oncomplete="DisenioDialogo.show()"  >
                                                <f:setPropertyActionListener value="40" target="#{managedBeanVenta.numeroAsiento}" />
                                            </p:commandButton>
                                            <p:commandButton value="VENDIDO"  style="color: red; font-size: 9px; display: #{managedBeanVenta.verificando(40) eq 1 ? 'null':'none;'} " update=":frmDisenio:displayCancelar" oncomplete="DialogoCancelar.show()"  >
                                                <f:setPropertyActionListener value="40" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                           <p:commandButton value="RESERVADO"  style="color: green; font-size: 9px; display: #{managedBeanVenta.verificando(40) eq 2 ? 'null':'none;'} " update=":frmDisenio:displayPagar" oncomplete="DialogoPagar.show()"  >
                                                <f:setPropertyActionListener value="40" target="#{managedBeanVenta.numeroAsientoMostrando}" />
                                            </p:commandButton>
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                        </p:panelGrid>
                        <h:commandLink action="#{managedBeanVenta.mapaVG7366()}" onclick="window.open('manifiestos/Mapaviaje' +#{managedBeanVenta.idViajeManifiesto} + '.pdf', '', 'height=450,width=720,scrollbars=1');return false;">
                                <h:graphicImage value="/images/impresora_matricial.jpg" width="55 px" height="55 px"/>

                            </h:commandLink> 
                    </center>
                    <p:dialog modal="true" id="dialog" header="REGISTRO DE BOLETO" widgetVar="DisenioDialogo" resizable="false" 
                              closable="#{managedBeanVenta.id_venta eq 0 ? 'true':'false'}"  showEffect="explode" hideEffect="explode"  width="700" height="600">
                        <h:panelGrid id="display" columns="1" >
                            <p:growl id="grow2" showDetail="true"/>


                            <h:panelGrid id="nuevo" columns="1" width="100%" >   

                                <p:fieldset legend="DATOS DEL BOLETO" id="dataBoletos"  toggleSpeed="500" style="display: #{managedBeanVenta.id_venta eq 0 ? 'null':'none'}">  
                                    <p:ajax event="toggle"  update="grow2" />
                                    <h:outputText value="ASIENTO N°: #{managedBeanVenta.numeroAsiento}" style="font-size: 25px; color: red; text-align: right; font-weight: bold; padding-left: 400px;"/>
                                    <h:panelGrid id="mensajes" columns="1" >
                                    </h:panelGrid>                    
                                    <h:panelGrid columns="2" cellpadding="7">     
                                        <h:outputText value="AGENCIA:" style="font-size: 11px; font-weight: bold;"/>
                                        <h:outputText value="#{managedBeanVenta.objetoViaje.agencia.ciudad.departamento.depDepartamento} #{managedBeanVenta.objetoViaje.agencia.ciudad.ciudCiudad} #{managedBeanVenta.objetoViaje.agencia.agenDireccion}" style="font-size: 11px;font-weight: bold;"/>
                                        
                                        <h:outputText value="ES RESERVADO:" style="font-size: 11px; font-weight: bold;"/>
                                        <p:selectOneRadio disabled="#{managedBeanVenta.diferenciaminutos eq 0?'true':'false'}" value="#{managedBeanVenta.reservado}" style="font-size: 11px; width:75px">
                                           <f:selectItem itemLabel="NO" itemValue="false" />
                                           <f:selectItem itemLabel="SI" itemValue="true" />
                                        </p:selectOneRadio>
                                        
                                        <h:outputText value="TIPO CLIENTE:" style="font-size: 11px; font-weight: bold;"/>
                                        <p:selectOneRadio  value="#{managedBeanCliente.personaNatural}" style="font-size: 11px; width:75px">
                                            <p:ajax  update=":frmDisenio:Autocomplete :frmDisenio:infor :frmDisenio:nat :frmDisenio:emp" />
                                            <f:selectItem itemLabel="PERSONA" itemValue="true" />
                                            <f:selectItem itemLabel="EMPRESA" itemValue="false" />
                                        </p:selectOneRadio>
                                        <h:outputText value="CLIENTE : " style="font-size: 11px; font-weight: bold;"/>
                                        <h:panelGrid columns="2">
                                            <p:autoComplete style="font-size: 11px; font-weight: bold;"   id="Autocomplete" effect="fade"
                                                            value="#{managedBeanVenta.objetoVentas.cliente}"
                                                            completeMethod="#{managedBeanCliente.completar_filtrado_Clientes}"
                                                            var="item_cliente" itemLabel="#{managedBeanCliente.personaNatural eq true ? item_cliente.persona.perDNI.concat(' ').concat(item_cliente.persona.perApellidos).concat(' ').concat(item_cliente.persona.perNombres).concat(' ') : item_cliente.persona.perDNI.concat('-RUC:').concat(item_cliente.cliRUC) }"
                                                            itemValue="#{item_cliente}"
                                                            converter="ClienteConverter"  minQueryLength="4"
                                                            size="42"
                                                            >
                                                <p:ajax update=":frmDisenio:infor :frmDisenio:numdoc" event="itemSelect" listener="#{managedBeanVenta.asignandocliente()}"/>
                                            </p:autoComplete>
                                            <h:panelGrid columns="2" style="padding-left: 20px;">
                                                <p:commandButton id="nat"  value="P" style="display: #{managedBeanCliente.personaNatural eq true ? 'null':'none'}" oncomplete="Dialogopersona.show()"/>
                                                <p:commandButton id="emp" value="E" style="display: #{managedBeanCliente.personaNatural eq false ? 'null':'none'}" oncomplete="DialogoEmpresa.show()"/>
                                            </h:panelGrid>
                                        </h:panelGrid>
                                    </h:panelGrid>
                                    <p:fieldset legend="INFO"  id="infor" toggleSpeed="500" toggleable="true" >
                                        <h:panelGrid id="natural" columns="4" style="display: #{managedBeanCliente.personaNatural eq true ? 'null':'none'}">
                                            <h:outputText value="NOMBRES: " style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="#{managedBeanVenta.objetoCliente.persona.perNombres}" style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="APELLIDOS: " style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="#{managedBeanVenta.objetoCliente.persona.perApellidos}" style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="DNI: " style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="#{managedBeanVenta.objetoCliente.persona.perDNI}" style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="CELL: " style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="#{managedBeanVenta.objetoCliente.persona.perCel}" style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="TEL.: " style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="#{managedBeanVenta.objetoCliente.persona.perTelf}" style="font-size: 11px; font-weight: bold;"/>
                                        </h:panelGrid>
                                        <h:panelGrid id="juridico" columns="4" style="display: #{managedBeanCliente.personaNatural eq false ? 'null':'none'}">
                                            <h:outputText value="RUC:" style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="#{managedBeanVenta.objetoCliente.cliRUC}" style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="RAZ. SOCIAL.:" style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="#{managedBeanVenta.objetoCliente.cliRazSoc}" style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="DIRECCIÓN FÍSICA:" style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="#{managedBeanVenta.objetoCliente.cliDireccionFiscal}" style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="NOMBRES: " style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="#{managedBeanVenta.objetoCliente.persona.perNombres}" style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="APELLIDOS: " style="font-size: 11px; font-weight: bold;"/>
                                            <h:outputText value="#{managedBeanVenta.objetoCliente.persona.perApellidos}" style="font-size: 11px; font-weight: bold;"/>
                                        </h:panelGrid>
                                    </p:fieldset> 
                                    <h:outputText value="" style="font-size: 11px; font-weight: bold;"/>
                                    <h:panelGrid columns="2" cellpadding="7"> 
                                        <h:outputText value="TIPO DOCUMENTO IDENTIDAD :" style="font-size: 11px; font-weight: bold;"/> 
                                        <p:selectOneMenu value="#{managedBeanVenta.objetoTipoDocumentoIdentidad}" effect="drop" style="font-size: 11px;width:250px" converter="TipoDocumentoIdentidadConverter" >
                                            <f:selectItems   value="#{managedBeanTipoDocumentoIdentidad.objetoItems}"/>
                                        </p:selectOneMenu>
                                        <h:outputText value="NÚMERO DOCUMENTO :" style="font-size: 11px; font-weight: bold;"/> 
                                        <p:inputText id="numdoc" value="#{managedBeanVenta.objetoVentas.venNroDocumento}"/>
                                        <h:outputText value="ESTADO:" style="font-size: 11px; font-weight: bold;"/>
                                        <p:selectOneRadio  value="#{managedBeanVenta.estadoVenta}" style="font-size: 11px; width:75px">
                                            <f:selectItem itemLabel="CONTADO" itemValue="1" />
                                            <f:selectItem itemLabel="CREDITO" itemValue="2" />
                                        </p:selectOneRadio>
                                        
                                        <h:outputText value="PROMOCION:" style="font-size: 11px; font-weight: bold;"/>
                                        <p:selectOneRadio  value="#{managedBeanVenta.promocion}" style="font-size: 11px; width:45px">
                                            <f:selectItem itemLabel="NO" itemValue="false" />
                                            <f:selectItem itemLabel="SI" itemValue="true" />
                                        </p:selectOneRadio>
                                        
                                        
                                        <h:outputText value="MONTO:" style="font-size: 11px; font-weight: bold;"/> 
                                        <h:outputText style="font-size: 11px; width: 55px"   value="#{managedBeanVenta.objetoViaje.viaPrecio}">
                                            <f:convertNumber type="currency" minFractionDigits="2" pattern="#0.00"/>
                                        </h:outputText>    
                                    </h:panelGrid>  
                                    <h:panelGrid  columns="1"  style="padding-left: 290px;">
                                        <p:commandButton icon="ui-icon-disk"  value="Insertar" action="#{managedBeanVenta.insertar(managedBeanCliente.personaNatural,managedBeanIniciosesion)}" update=":frmDisenio:impresion :frmDisenio:dialog :frmDisenio:dataBoletos" oncomplete="DisenioDialogo.show()" />                        
                                    </h:panelGrid>
                                </p:fieldset>
                                <p:fieldset legend="IMPRESION" id="impresion"  toggleSpeed="500" style="display: #{managedBeanVenta.id_venta eq 0 ? 'none':'null'}" >
                                    <h:outputText value="SE REGISTRO CORRECTAMENTE EL ASIENTO N°: #{managedBeanVenta.numeroAsiento}" style="font-size: 20px; color: red; text-align: right; font-weight: bold;"/>
                                    <p:separator />
                                    <h:panelGrid columns="1" style="display: #{managedBeanVenta.objetoVentas.venEstado eq 2 ? 'none':'null'}">
                                        <h:outputLink  onclick="window.open('boleto/boleto'+#{managedBeanVenta.objetoVentas.idVentas}+'.pdf','','height=450,width=720,scrollbars=1') ; return false;" value="#">
                                            <h:graphicImage value="/images/impresora_matricial.jpg" width="120 px" height="120 px"/>
                                        </h:outputLink>
                                        <p:separator />
                                    </h:panelGrid>
                                    <p:commandButton   value="CERRAR VENTANA" action="#{managedBeanVenta.volver()}"  />  
                                </p:fieldset>



                            </h:panelGrid>


                        </h:panelGrid>
                    </p:dialog>

                    <p:dialog modal="true" id="dialogCancelar" header="BOLETO" widgetVar="DialogoCancelar" resizable="false" 
                              closable="#{managedBeanVenta.id_venta eq 0 ? 'true':'false'}"  showEffect="explode" hideEffect="explode"  width="680" height="430">
                        <h:panelGrid id="displayCancelar" columns="1" >
                            <p:growl id="grow2Cancelar" showDetail="true"/>                            
                            <h:panelGrid id="nuevoCancelar" columns="1" width="100%" >   
                                <p:fieldset legend="DATOS DEL BOLETO" id="dataBoletosCancelar"  toggleSpeed="500" >  
                                    <p:ajax event="toggle"  update="grow2Cancelar" />
                                    <h:outputText value="ASIENTO N°: #{managedBeanVenta.numeroAsientoMostrando}" style="font-size: 25px; color: red; text-align: right; font-weight: bold; padding-left: 400px;"/>
                                    <h:panelGrid columns="2" cellpadding="7">     
                                        <h:outputText value="AGENCIA:"/>
                                        <h:outputText value="#{managedBeanVenta.objetoViaje.agencia.ciudad.departamento.depDepartamento} #{managedBeanVenta.objetoViaje.agencia.ciudad.ciudCiudad} #{managedBeanVenta.objetoViaje.agencia.agenDireccion}" style="font-size: 11px;font-weight: bold;"/>
                                        <h:outputText value="NOMBRE:"/>  
                                        <h:outputText value="#{managedBeanVenta.objetoVentasMostrar.cliente.persona.perNombres}" style="color: blue"/>
                                        <h:outputText value="APELLIDOS:"/>  
                                        <h:outputText value="#{managedBeanVenta.objetoVentasMostrar.cliente.persona.perApellidos}" style="color: blue"/>
                                        <h:outputText value="DNI:"/>  
                                        <h:outputText value="#{managedBeanVenta.objetoVentasMostrar.cliente.persona.perDNI}" style="color: blue"/>
                                        <h:outputText value="MONTO:"/> 
                                        <h:outputText value="#{managedBeanVenta.objetoVentasMostrar.venMonto}" style="color: blue">
                                            <f:convertNumber type="currency" minFractionDigits="2" pattern="#0.00"/>
                                        </h:outputText>
                                    </h:panelGrid>
                                    <h:commandLink  onclick="window.open('boleto/boleto' +#{managedBeanVenta.objetoVentasMostrar.idVentas} + '.pdf', '', 'height=450,width=720,scrollbars=1');
                                    return false;">
                                <h:graphicImage value="/images/impresora_matricial.jpg" width="55 px" height="55 px"/>

                            </h:commandLink>
                                    <p:fieldset legend="POSTERGACION" toggleSpeed="500" collapsed="true" toggleable="true" style="width: 400px;">
                                        <h:panelGrid columns="2" cellpadding="7"> 
                                            <h:outputText value="Fecha de Postergación: *" /> 
                                            <p:calendar style="width: 50px" value="#{managedBeanVenta.objetoVentasMostrar.venFechaPostergacion}" pattern="dd/MM/yyyy" />
                                        </h:panelGrid>
                                    </p:fieldset>
                                </p:fieldset>
                            </h:panelGrid>
                        </h:panelGrid>
                        <center>
                            <p:commandButton disabled="#{managedBeanVenta.diferenciaminutos eq 0?'true':'false'}" id="showDialogButton2" value="Confirmar Postergacion" onclick="confirmation2.show();" type="button" />
                            <h:outputText value="-------------------" style="color: white"/>
                            <p:commandButton id="showDialogButton" value="Cancelar Boleto" onclick="confirmation.show();" type="button" />
                        </center>
                    </p:dialog>   
                    
                    <p:dialog modal="true" id="dialogopagar" header="BOLETO" widgetVar="DialogoPagar" resizable="false" 
                              closable="#{managedBeanVenta.id_venta eq 0 ? 'true':'false'}"  showEffect="explode" hideEffect="explode"  width="680" height="430">
                        <h:panelGrid id="displayPagar" columns="1" >
                            <p:growl id="grow2Pagar" showDetail="true"/>                            
                            <h:panelGrid id="nuevoPagar" columns="1" width="100%" >   
                                <p:fieldset legend="DATOS DEL BOLETO" id="dataBoletosPagar"  toggleSpeed="500" >  
                                    <p:ajax event="toggle"  update="grow2Pagar" />
                                    <h:outputText value="ASIENTO N°: #{managedBeanVenta.numeroAsientoMostrando}" style="font-size: 25px; color: red; text-align: right; font-weight: bold; padding-left: 400px;"/>
                                    <h:panelGrid columns="2" cellpadding="7">     
                                        <h:outputText value="AGENCIA:"/>
                                        <h:outputText value="#{managedBeanVenta.objetoViaje.agencia.ciudad.departamento.depDepartamento} #{managedBeanVenta.objetoViaje.agencia.ciudad.ciudCiudad} #{managedBeanVenta.objetoViaje.agencia.agenDireccion}" style="font-size: 11px;font-weight: bold;"/>
                                        <h:outputText value="NOMBRE:"/>  
                                        <h:outputText value="#{managedBeanVenta.objetoVentasMostrar.cliente.persona.perNombres}" style="color: blue"/>
                                        <h:outputText value="APELLIDOS:"/>  
                                        <h:outputText value="#{managedBeanVenta.objetoVentasMostrar.cliente.persona.perApellidos}" style="color: blue"/>
                                        <h:outputText value="DNI:"/>  
                                        <h:outputText value="#{managedBeanVenta.objetoVentasMostrar.cliente.persona.perDNI}" style="color: blue"/>
                                        <h:outputText value="MONTO:"/> 
                                        <h:outputText value="#{managedBeanVenta.objetoVentasMostrar.venMonto}" style="color: blue">
                                            <f:convertNumber type="currency" minFractionDigits="2" pattern="#0.00"/>
                                        </h:outputText>
                                    </h:panelGrid> 
                                  
                                </p:fieldset>
                            </h:panelGrid>
                        </h:panelGrid>
                        <p:separator />
                        <h:panelGrid columns="2">
                            <h:panelGrid columns="1">
                                 <p:commandButton id="showDialogButtonCancelar" style="color: red" value="CANCELAR BOLETO" onclick="confirmationCancelar.show();" type="button" />
                        
                            </h:panelGrid>
                            <h:panelGrid columns="1" style="padding-left: 150px;">
                                <p:commandButton id="showDialogButtonPagar" value="PAGAR BOLETO" onclick="confirmationpagar.show();" type="button" />
                        
                            </h:panelGrid>
                           
                        
                            
                            
                        </h:panelGrid>
                           
                    </p:dialog>   
                    
                    
                    <p:confirmDialog id="confirmDialogCANC" message="¿DESEA CANCELAR EL BOLETO?"
                                     header="Confirmación"  severity="alert" widgetVar="confirmationCancelar" width="300" height="60">
                        <p:commandButton id="confirmcanc" value="SI" oncomplete="dialogCancelar.hide() confirmation.hide()"
                                         actionListener="#{managedBeanVenta.eliminar(managedBeanIniciosesion)}" />
                        <p:commandButton id="declinecanc" value="NO" onclick="confirmationCancelar.hide();" type="button" />
                    </p:confirmDialog>
                    
                    <p:confirmDialog id="confirmDialog" message="¿DESEA CANCELAR EL BOLETO?"
                                     header="Confirmación"  severity="alert" widgetVar="confirmation" width="300" height="60">
                        <p:commandButton id="confirm" value="SI" oncomplete="dialogCancelar.hide() confirmation.hide()"
                                         actionListener="#{managedBeanVenta.eliminar(managedBeanIniciosesion)}" />
                        <p:commandButton id="decline" value="NO" onclick="confirmation.hide();" type="button" />
                    </p:confirmDialog>
                    
                    <p:confirmDialog id="confirmDialogPagar" message="¿DESEA PAGAR EL BOLETO?"
                                     header="Confirmación"  severity="alert" widgetVar="confirmationpagar" width="300" height="60">
                        <p:commandButton id="confirm3" value="SI" oncomplete="dialogCancelar.hide() confirmation.hide()"
                                         actionListener="#{managedBeanVenta.pagar(managedBeanIniciosesion)}" />
                        <p:commandButton id="decline3" value="NO" onclick="confirmationpagar.hide();" type="button" />
                    </p:confirmDialog>
                    
                    <p:confirmDialog id="confirmDialog2" message="¿DESEA POSTERGAR EL BOLETO?"
                                     header="Confirmación2"  severity="alert" widgetVar="confirmation2" width="300" height="60">
                        <p:commandButton id="confirm2" value="SI" oncomplete="dialogCancelar.hide() confirmation2.hide()"
                                         actionListener="#{managedBeanVenta.postergar(managedBeanIniciosesion)}" />
                        <p:commandButton id="decline2" value="NO" onclick="confirmation2.hide();" type="button" />
                    </p:confirmDialog>
                    
                    
                    
                    <p:confirmDialog id="confirmDialogNEWNATURAL" 
                                     header="REGISTRO PERSONA" severity="alert" message="Persona" widgetVar="confirmationNatural" width="800" height="350">
                        
                  
                        <p:commandButton id="confirmcancNAT" value="SI" oncomplete="confirmationNatural.hide()"
                                         actionListener="#{managedBeanCliente.insertarNatural()}" />
                        <p:commandButton id="declinecancNAT" value="NO" onclick="confirmationNatural.hide();" type="button" />
                    </p:confirmDialog>
                    
                    <p:dialog modal="true" id="dialogoRegistroNAtural" header="PERSONA" widgetVar="Dialogopersona" resizable="false" 
                              closable="#{managedBeanVenta.id_venta eq 0 ? 'true':'false'}"  showEffect="explode" hideEffect="explode"  width="680" height="430">
                     
                     <h:panelGrid  id="datos" columns="4" >  
                                    <h:outputText value="DNI: *" /> 
                                    <p:inputText style="width: 150px"   label="DNI" id="txtDNI" value="#{managedBeanCliente.objetoPersonaCrear.perDNI}"/>                        
                                    <h:outputText value="" /> 
                                    <h:outputText value="" /> 
                                    
                                    <h:outputText value="Nombre: *" /> 
                                    <p:inputText style="width: 200px"  label="Nombre" id="txtNombre" value="#{managedBeanCliente.objetoPersonaCrear.perNombres}"/>                        
                                    <h:outputText value="Apellidos: *" /> 
                                    <p:inputText style="width: 200px"  label="Apellidos" id="txtApellidos" value="#{managedBeanCliente.objetoPersonaCrear.perApellidos}"/>                        
                                    <h:outputText value="Direccion: *" /> 
                                    <p:inputText style="width: 200px"   label="Direccion" id="txtDireccion" value="#{managedBeanCliente.objetoPersonaCrear.perDireccion}"/>                        
                                    <h:outputText value="Sexo: *" />
                                    <p:selectOneMenu id="nu1" value="#{managedBeanCliente.objetoPersonaCrear.perSexo}" style="width:150px">
                                        <f:selectItem itemLabel="Masculino" itemValue="M" />  
                                        <f:selectItem itemLabel="Femenino" itemValue="F" />  
                                        <f:selectItem itemLabel="Otros" itemValue="O" />  
                                    </p:selectOneMenu> 
                                    <h:outputText value="Telefono: *" /> 
                                    <p:inputText style="width: 150px" label="Telefono" id="txtTelefono" value="#{managedBeanCliente.objetoPersonaCrear.perTelf}"/>                        
                                    <h:outputText value="Celular: *" /> 
                                    <p:inputText style="width: 150px" label="Celular" id="txtCelular" value="#{managedBeanCliente.objetoPersonaCrear.perCel}"/>                        
                                    <h:outputText value="Fecha Nacimiento: *" /> 
                                    <p:calendar style="width: 150px" value="#{managedBeanCliente.objetoPersonaCrear.perFechaNac}" pattern="dd/MM/yyyy" />
                                </h:panelGrid>
                             <p:commandButton icon="ui-icon-disk"  value="Insertar" action="#{managedBeanCliente.insertarNatural(managedBeanVenta)}" update=":frmDisenio:display :frmDisenio:datos" oncomplete="Dialogopersona.hide()" />                        
                                    
                    </p:dialog>   
                    
                    
                    <p:dialog modal="true" id="dialogoRegistroEmpresa" header="EMPRESA" widgetVar="DialogoEmpresa" resizable="false" 
                              closable="#{managedBeanVenta.id_venta eq 0 ? 'true':'false'}"  showEffect="explode" hideEffect="explode"  width="680" height="430">
                     
                    <h:panelGrid  id="datos2" columns="2" cellpadding="15">
                        <h:outputText value="PERSONA : " style="font-size: 11px; font-weight: bold;"/>
                         <p:autoComplete style="font-size: 11px; font-weight: bold;"   id="AutocompleteDOS" effect="fade"
                                         value="#{managedBeanCliente.objetoClientePersona}"
                                                            completeMethod="#{managedBeanCliente.completar_filtrado_ClientesPersonas}"
                                                            var="item_cliente" itemLabel="#{item_cliente.persona.perDNI.concat(' ').concat(item_cliente.persona.perApellidos)}"
                                                            itemValue="#{item_cliente}"
                                                            converter="Cliente2Converter"  minQueryLength="1"
                                                            size="42"
                                                            >
                                 </p:autoComplete>
                                            
                                    <h:outputText value="RUC: *" /> 
                                    <p:inputText style="width: 150px" id="txtRUC" value="#{managedBeanCliente.objetoClienteCrear.cliRUC}"/>                        
                                    <h:outputText value="Razon Social: *" /> 
                                    <p:inputText style="width: 150px"   id="txtRazon" value="#{managedBeanCliente.objetoClienteCrear.cliRazSoc}"/>                        
                                    <h:outputText value="Direccion Fiscal: *" /> 
                                    <p:inputText style="width: 150px"  id="txtDireccionF" value="#{managedBeanCliente.objetoClienteCrear.cliDireccionFiscal}"/>                        
                                    <h:outputText value="Empresa/Asociada: *" /> 
                                    <p:selectOneMenu id="nu2" value="#{managedBeanCliente.objetoClienteCrear.perEmpresaAsociada}" style="width:190px">
                                        <f:selectItem itemLabel="Empresa Asociada" itemValue="1" />  
                                        <f:selectItem itemLabel="Empresa Propia" itemValue="0" />
                                    </p:selectOneMenu> 
                                </h:panelGrid>
                        <p:commandButton icon="ui-icon-disk"  value="Insertar" action="#{managedBeanCliente.insertarJuridico(managedBeanVenta)}" update=":frmDisenio:display" oncomplete="DialogoEmpresa.hide()"/>
                                      
                    </p:dialog>  
                    <p:dialog>
                        
                         <p:panelGrid id="panelPrincipalImprimir" style="margin-top:20px; width: 50%; height: 50%;border-color: #D20009" styleClass="styloPanelGrid">
                            <f:facet name="header">
                                <p:row>
                                    <p:column colspan="9">Distribucion Asientos BUS : #{managedBeanVenta.objetoViaje.bus.marca.marMarca} #{managedBeanVenta.objetoViaje.bus.modelo.modDescripcion} #{managedBeanVenta.objetoViaje.bus.busAnioFabricacion}</p:column>
                                </p:row>
                                <p:row>
                                    <p:column>Ventana 1</p:column>
                                    <p:column>Pasadiso 1</p:column>
                                    <p:spacer height="0"/>
                                    <p:column colspan="4">CORREDOR</p:column>
                                    <p:column>Ventana 2</p:column>
                                    <p:column>Pasadiso 2</p:column>
                                    <p:spacer height="0"/>
                                </p:row>
                            </f:facet>
                            <p:row>
                                <p:column colspan="8"></p:column>
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="1" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="3" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="2" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                        <p:graphicImage value="../images/tv.jpg" height="20px" width="26px" style="padding: 0px 0px 70px 0px "/> 
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><!--Corredor--></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="3" style="width: 100%" styleClass="styloPanelGrid2">
                                        <p:graphicImage value="../images/tv.jpg" height="20px" width="26px" style="padding: 0px 0px 70px 0px "/>
                                        <h:outputText value="3" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                            
                                        </p:panelGrid>                                    
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="4" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                           
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="5" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                           
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="6" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><!--Corredor--></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="3" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="7" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                           
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="8" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                           
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="9" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                           
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="10" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><!--Corredor--></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="11" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="12" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                         
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="13" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                         
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="14" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><!--Corredor--></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="15" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                           
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="16" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                           
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="17" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                         
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="18" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><!--Corredor--></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="19" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                            
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="20" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="21" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                         
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="3" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="22" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                        <p:graphicImage value="../images/tv.jpg" height="20px" width="26px" style="padding: 0px 0px 70px 0px "/>
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><!--Corredor--></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="3" style="width: 100%" styleClass="styloPanelGrid2">
                                        <p:graphicImage value="../images/tv.jpg" height="20px" width="26px" style="padding: 0px 0px 70px 0px "/>
                                        <h:outputText value="23" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                         
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="24" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                         
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="25" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="26" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                           
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><!--Corredor--></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="27" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="28" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                         
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="29" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                         
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="30" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                         
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><!--Corredor--></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="31" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                         
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="32" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="33" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="34" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                         
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column colspan="4"><!--Corredor--></p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="35" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                           
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="36" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                            <p:row>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="37" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                           
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="38" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                           
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                               
                                <p:column colspan="4" style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="41" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                        
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                
                                
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="39" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>
                                <p:column style="font-weight: bold; text-align:center">
                                    <p:panelGrid columns="2" style="width: 100%" styleClass="styloPanelGrid2">
                                        <h:outputText value="40" style="font-size: 20px; color: red"/>
                                        <p:panelGrid columns="1" style="width: 100%" styleClass="styloPanelGrid2"> 
  <p:graphicImage value="../images/cuadrito.png" height="70px" width="60px" /> 
                                          
                                        </p:panelGrid>
                                    </p:panelGrid>
                                </p:column>                  
                            </p:row>
                        </p:panelGrid>
                    </p:dialog> 
                </h:form>
                            </ui:define>

        </ui:composition>

    </body>
</html>
